package com.wwfish.cms.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.nexustar.gwt.widgets.client.model.PaginationModelDto;
import com.wwfish.cms.model.BaseContentDto;
import com.wwfish.cms.model.NewsDto;
import com.wwfish.cms.model.ResourceDto;

import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2010-8-16
 * Time: 14:47:48
 * To change this template use File | Settings | File Templates.
 */
public interface NewsManager extends RemoteService {
    NewsDto saveAndUpdate(NewsDto dto);

    void delete(NewsDto dto);

    void deleteList(List<NewsDto> dto);

    PaginationModelDto<NewsDto> getPageEntities(Integer begin, Integer count, Map<String, String> conditions);
}
